/**
* TODO: 
*@author {JC}
*@effect 登录接口
**/
import request from "../../http/request"
// TODO:主页商品展示接口
// axios.get("http://192.168.2.9:7001/home/goods")
export const takeHomeGoods = (params)=>{
    return request({
        url:"/home/goods",
        method:"GET",
        params:{}
    })
}
// TODO:全部商品接口 
export const takeAllGoods = (params)=>{
    return request({
        url:"/goods",
        method:"POST",
        data:params
    })
}
// TODO:全部商品分类数据接口
export const takeCateGoods = (params)=>{
    return request({
        url:"/goods/classes",
        method:"POST",
        data:params
    })
}
// TODO:单个商品详情接口
export const takeGoodsDetail = (params)=>{
    return request({
        url:"/singnal",
        method:"GET",
        params:params
    })
}